package com.dbq.fast.business.invite;

import android.content.Intent;
import android.os.Bundle;
import android.text.Html;
import android.widget.TextView;

import com.dbq.fast.R;
import com.dbq.fast.common.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

public class RuleActivity extends BaseActivity {

    @BindView(R.id.rule_content)
    TextView ruleContent;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_rule);
        ButterKnife.bind(this);

        Intent intent = getIntent();
        String rule = intent.getStringExtra("rule_content");

        ruleContent.setText(Html.fromHtml(rule));
    }
}
